package cn.wolfcode.crm.service;


import cn.wolfcode.crm.domain.Department;
import cn.wolfcode.crm.query.ObjectQuery;
import cn.wolfcode.crm.query.PageResult;

import java.util.List;


public interface IDepartmentService {
    void save(Department department);

    void delete(Long id);

    void update(Department department);

    Department get(Long id);

    List<Department> getAll();


    PageResult<Department> query(ObjectQuery qo);


    void changeState(Long id);
}
